package com.drama.api.sys.message.dao;

import com.drama.api.company.message.domain.vo.CompanyMessageVO;
import com.drama.api.sys.message.domain.po.SysMessagePO;
import com.drama.api.sys.message.domain.vo.SysMessageAllSearchVO;
import com.drama.api.sys.message.domain.vo.SysMessageSearchVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface SysMessageDao extends Mapper<SysMessagePO> {
    List<CompanyMessageVO> getList(SysMessageSearchVO searchVO);

    void all_read(@Param("userId") String userId);

    List<CompanyMessageVO> getAllList(SysMessageAllSearchVO searchVO);
}